﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Navigation;
using System.Windows.Shapes;

namespace ScrumMagic
{
    /// <summary>
    /// Interaction logic for AllUsersRibbon.xaml
    /// </summary>
    public partial class AllUsersRibbon : Window
    {
        public AllUsersRibbon()
        {
            InitializeComponent();
        }

        private void OnRibbonCommandCanExecute(object sender, System.Windows.Input.CanExecuteRoutedEventArgs e)
        {
            e.CanExecute = true;
        }

        private void RibbonCommandFind(object sender, EventArgs e)
        {
            FindButtonClicked(sender, new TextEventArgs(textBox.Text));
        }

        public event EventHandler<TextEventArgs> FindButtonClicked;
    }
}
